import { http } from "@/utils/http";

export type ResultType = ReplaceTargetType<any[]>;

// 查询所有边类型tag
export const querySpaceAll = (space: string) => {
  return http.request<ResultType>({
    url: "/nebulaApi/space/querySpaceAll",
    method: "get",
    params: {
      space,
    },
  });
};
